package com.oms.module.admin.constant;

import com.oms.common.ResponseCodeConst;

/**
 * @Author zhanghailong
 * @Description TODO
 * @Date 15:05 2020/3/28
 */
public class AdminResponseCodeConstant extends ResponseCodeConst {

    /**
     * 修改密码原密码错误
     */
    public static final  AdminResponseCodeConstant OLD_PASSWORD_ERROR = new AdminResponseCodeConstant(1001, "原密码错误");

    /**
     *
     */
    public static final  AdminResponseCodeConstant ADD_ANNOUNCEMENT_ERROR = new AdminResponseCodeConstant(1002, "添加公告失败");

    /**
     *账号被锁定
     */
    public static final  AdminResponseCodeConstant ACCOUNT_LOCK = new AdminResponseCodeConstant(1003, "账号被锁定，请联系管理员");

    /**
     *密码过期
     */
    public static final  AdminResponseCodeConstant PASSWORD_EXPIRED = new AdminResponseCodeConstant(1004, "密码过期，请联系管理员");

    /**
     *账户过期
     */
    public static final  AdminResponseCodeConstant ACCOUNT_EXPIRED = new AdminResponseCodeConstant(1005, "账户过期，请联系管理员");

    /**
     *账户过期
     */
    public static final  AdminResponseCodeConstant DISABLED = new AdminResponseCodeConstant(1006, "账户被禁用，请联系管理员");

    /**
     *账户过期
     */
    public static final  AdminResponseCodeConstant LANDING_FAILURE = new AdminResponseCodeConstant(1007, "账户被禁用，请联系管理员");

    /**
     *
     */
    public static final  AdminResponseCodeConstant DELETE_BUSINESS_AUDIT_ERROR = new AdminResponseCodeConstant(1008, "删除商家审核意见失败");

    /**
     *
     */
    public static final  AdminResponseCodeConstant DELETE_BUYER_AUDIT_ERROR = new AdminResponseCodeConstant(1008, "删除买手审核意见失败");

    /**
     *
     */
    public static final  AdminResponseCodeConstant SAVE_BUYER_AUDIT_ERROR = new AdminResponseCodeConstant(1008, "添加买手审核意见失败");

    /**
     *
     */
    public static final  AdminResponseCodeConstant SAVE_BUSINESS_AUDIT_ERROR = new AdminResponseCodeConstant(1009, "添加商家审核意见失败");

    /**
     *
     */
    public static final  AdminResponseCodeConstant MODIFY_BUYER_AUDIT_ERROR = new AdminResponseCodeConstant(1008, "修改买手审核意见失败");

    /**
     *
     */
    public static final  AdminResponseCodeConstant MODIFY_BUSINESS_AUDIT_ERROR = new AdminResponseCodeConstant(1008, "修改商家审核意见失败");

    public static final  AdminResponseCodeConstant MODIFY_BUYER_CONFIG_ERROR = new AdminResponseCodeConstant(1009, "修改买手配置失败");

    public static final  AdminResponseCodeConstant MODIFY_BUSINESS_CONFIG_ERROR = new AdminResponseCodeConstant(1010, "修改商家配置失败");

    public static final  AdminResponseCodeConstant MODIFY_ADMIN_CONFIG_ERROR = new AdminResponseCodeConstant(1011, "修改管理端配置失败");

    public AdminResponseCodeConstant() {
    }

    public AdminResponseCodeConstant(int code, String msg) {
        super(code, msg);
    }

    public AdminResponseCodeConstant(int code) {
        super(code);
    }

    public AdminResponseCodeConstant(int code, String msg, boolean success) {
        super(code, msg, success);
    }
}
